<configuration>
  <property>
    <name>javax.jdo.option.ConnectionURL</name>
    <value>jdbc:mysql://{{ mysql_ip }}:{{ mysql_port }}/hive?createDatabaseIfNotExist=true&amp;useSSL=false&amp;allowPublicKeyRetrieval=true</value>
 </property>
 <property>
    <name>hive.metastore.warehouse.dir</name>
    <value>{{ install_dir }}/metastore</value>
 </property>
 <property>
    <name>javax.jdo.option.ConnectionDriverName</name>
    <value>com.mysql.cj.jdbc.Driver</value>
 </property>
 <property>
    <name>javax.jdo.option.ConnectionUserName</name>
    <value>hiveuser</value>
 </property>
 <property>
    <name>javax.jdo.option.ConnectionPassword</name>
    <value>{{ HIVE_DATA_USER_PASSWD }}</value>
 </property>
 <property>
    <name>hive.metastore.uris</name>
    <value>thrift://{{ metastore_ip }}:{{ metastore_port }}</value>
    <description>URI for client to connect to metastore server</description>
 </property>
 <property>
    <name>hive.server2.thrift.bind.host</name>
    <value>{{ hiveserver2_ip }}</value>
 </property>
 <property>
    <name>hive.server2.thrift.port</name>
    <value>{{ hiveserver2_port }}</value>
 </property>
 <property>
    <name>hive.server2.active.passive.ha.enable</name>
    <value>true</value>
 </property>
 <property>
    <name>hive.metastore.event.db.notification.api.auth</name>
    <value>false</value>
 </property>
</configuration>